\hypertarget{class_lib_u_s_b_1_1_configuration}{\section{Lib\-U\-S\-B\-:\-:Configuration Class Reference}
\label{class_lib_u_s_b_1_1_configuration}\index{Lib\-U\-S\-B\-::\-Configuration@{Lib\-U\-S\-B\-::\-Configuration}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_a85966788f5f320aba04c98eae92f8512}{{\bfseries Configuration} (std\-::shared\-\_\-ptr$<$ Configuration\-Impl $>$ p\-Init)}\label{class_lib_u_s_b_1_1_configuration_a85966788f5f320aba04c98eae92f8512}

\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_ae1dd391b9d615ff1fe80264585527dda}{std\-::wstring \hyperlink{class_lib_u_s_b_1_1_configuration_ae1dd391b9d615ff1fe80264585527dda}{Descriptor\-String} () const }\label{class_lib_u_s_b_1_1_configuration_ae1dd391b9d615ff1fe80264585527dda}

\begin{DoxyCompactList}\small\item\em Returns the string descriptor describing this configuration. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_af50cb780a19692834d7c1c107602c24c}{uint8\-\_\-t \hyperlink{class_lib_u_s_b_1_1_configuration_af50cb780a19692834d7c1c107602c24c}{Value} () const }\label{class_lib_u_s_b_1_1_configuration_af50cb780a19692834d7c1c107602c24c}

\begin{DoxyCompactList}\small\item\em Returns the identifier value of this configuration. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_ae9dbfd1722338ebbccf8a772b5b8bed2}{int \hyperlink{class_lib_u_s_b_1_1_configuration_ae9dbfd1722338ebbccf8a772b5b8bed2}{Max\-Power} () const }\label{class_lib_u_s_b_1_1_configuration_ae9dbfd1722338ebbccf8a772b5b8bed2}

\begin{DoxyCompactList}\small\item\em Returns the maximum amount of power this device will consume while fully operational. (m\-A) \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_a685c0454a10ebb8298f6fad0da7e5d02}{void \hyperlink{class_lib_u_s_b_1_1_configuration_a685c0454a10ebb8298f6fad0da7e5d02}{Set\-As\-Active} ()}\label{class_lib_u_s_b_1_1_configuration_a685c0454a10ebb8298f6fad0da7e5d02}

\begin{DoxyCompactList}\small\item\em Sets this configuration as the active configuration. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_a33184cf73b15b78ad7043964e121c3a8}{bool \hyperlink{class_lib_u_s_b_1_1_configuration_a33184cf73b15b78ad7043964e121c3a8}{is\-Self\-Powered} () const }\label{class_lib_u_s_b_1_1_configuration_a33184cf73b15b78ad7043964e121c3a8}

\begin{DoxyCompactList}\small\item\em Returns T\-R\-U\-E if the device is self powered. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_afa9e4a6df05bf3a591d587a297849532}{bool \hyperlink{class_lib_u_s_b_1_1_configuration_afa9e4a6df05bf3a591d587a297849532}{supports\-Remote\-Wakeup} () const }\label{class_lib_u_s_b_1_1_configuration_afa9e4a6df05bf3a591d587a297849532}

\begin{DoxyCompactList}\small\item\em Returns T\-R\-U\-E if the device supports remote wakeup. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_a4c6821c0a615aa153310fb5b7fcf82ca}{bool \hyperlink{class_lib_u_s_b_1_1_configuration_a4c6821c0a615aa153310fb5b7fcf82ca}{has\-Extra\-Descriptors} () const }\label{class_lib_u_s_b_1_1_configuration_a4c6821c0a615aa153310fb5b7fcf82ca}

\begin{DoxyCompactList}\small\item\em Returns T\-R\-U\-E if there are extra descriptors present. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_ad05ae5f0d18011aec213b9f86be94f77}{const unsigned char $\ast$ \hyperlink{class_lib_u_s_b_1_1_configuration_ad05ae5f0d18011aec213b9f86be94f77}{get\-Extra\-Descriptors} () const }\label{class_lib_u_s_b_1_1_configuration_ad05ae5f0d18011aec213b9f86be94f77}

\begin{DoxyCompactList}\small\item\em Returns a pointer the the extra descriptors. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_a34e0423ff0c3051ee83999d3fd489c5b}{int \hyperlink{class_lib_u_s_b_1_1_configuration_a34e0423ff0c3051ee83999d3fd489c5b}{get\-Extra\-Descriptor\-Size} () const }\label{class_lib_u_s_b_1_1_configuration_a34e0423ff0c3051ee83999d3fd489c5b}

\begin{DoxyCompactList}\small\item\em Returns the size of the extra descriptors, in bytes. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_a833252b95f281c4938693a31f6a71ec6}{int \hyperlink{class_lib_u_s_b_1_1_configuration_a833252b95f281c4938693a31f6a71ec6}{Num\-Interfaces} () const }\label{class_lib_u_s_b_1_1_configuration_a833252b95f281c4938693a31f6a71ec6}

\begin{DoxyCompactList}\small\item\em Returns the number of interfaces supported by this configuration. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_afd96a0eaf1281c1017ed0c3a781cee10}{std\-::shared\-\_\-ptr$<$ \hyperlink{class_lib_u_s_b_1_1_interface}{Interface} $>$ \hyperlink{class_lib_u_s_b_1_1_configuration_afd96a0eaf1281c1017ed0c3a781cee10}{get\-Interface\-By\-Index} (int index) const }\label{class_lib_u_s_b_1_1_configuration_afd96a0eaf1281c1017ed0c3a781cee10}

\begin{DoxyCompactList}\small\item\em Returns the specified interface by index. \end{DoxyCompactList}\item 
\hypertarget{class_lib_u_s_b_1_1_configuration_af48ff43ff40deb9277f1b20bf232d2fa}{std\-::shared\-\_\-ptr$<$ \hyperlink{class_lib_u_s_b_1_1_interface}{Interface} $>$ \hyperlink{class_lib_u_s_b_1_1_configuration_af48ff43ff40deb9277f1b20bf232d2fa}{get\-Interface} (int Interface\-Number) const }\label{class_lib_u_s_b_1_1_configuration_af48ff43ff40deb9277f1b20bf232d2fa}

\begin{DoxyCompactList}\small\item\em Returns the specified interface by \hyperlink{class_lib_u_s_b_1_1_interface}{Interface} number. \end{DoxyCompactList}\end{DoxyCompactItemize}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
headers/Configuration.\-h\end{DoxyCompactItemize}
